package valeria.model;

public class StudentVO {
//멤버변수
	private int studentno;//학번
	private String name;//이름
	private String address;//주소
	private int age;//나이
	private String birthDate;//생년월일
	private String departName;//학과명
	private int profno;//지도교수
	private String interview;//면담시간
	
	//생성자 초기화시키기
	public StudentVO(int studentno,
			String name,String address,int age,
			String birthDate,String departName,
			int profno,String interview){
		this.studentno=studentno;
		this.name=name;
		this.address=address;
		this.age=age;
		this.birthDate=birthDate;
		this.departName=departName;
		this.profno=profno;
		this.interview=interview;
		}
	public void setStudentno(int studentno){this.studentno=studentno;}
	public void setName(String name){this.name=name;}
	public void setAddress(String address){this.address=address;}
	public void setAge(int age){this.age=age;}
	public void setBirthDate(String birthDate){this.birthDate=birthDate;}
	public void setDepartName(String departName){this.departName=departName;}
	public void setProfno(int profno){this.profno=profno;}
	public void setInterview(String interview){this.interview=interview;}
	
	public int getStudentno(){return studentno;}
	public String getName(){return name;}
	public String getAddress(){return address;}
	public int getAge(){return age;}
	public String getBirthDate(){return birthDate;}
	public String getDepartName(){return departName;}
	public int getProfno(){return profno;}
	public String getInterview(){return interview;}
	
	@Override
		public String toString() {
			String result="";
			result+=studentno+"/"+name+"/"+address+"/"+age+"/"+birthDate+"/"+departName+"/"+profno+"/"+interview;
			return result;
		}
	
	
	
	
	
}
